const getValueByCommandKey = (key) => {
    const args = process.argv;
    const index = args.indexOf(key);
    if (index !== -1) {
        return args[index + 1] ? args[index + 1] : null;
    }
    return null;
}

module.exports = {
    getValueByCommandKey
}